package com.zking.ssm.sys.service;

import com.github.pagehelper.Page;
import com.zking.ssm.sys.model.HotelRoomMoney;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelRoomMoneyService {

    int deleteByPrimaryKey(Long id);

    int insert(HotelRoomMoney record);

    int insertSelective(HotelRoomMoney record);

    @Transactional(readOnly = true)
    HotelRoomMoney selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelRoomMoney record);

    int updateByPrimaryKey(HotelRoomMoney record);

    @Transactional(readOnly = true)
    List<HotelRoomMoney> list(HotelRoomMoney hotelRoomMoney, PageBean pageBean);

}
